﻿#include "ModelData.h"

bool ModelData::operator==(const ModelData &other) const
{
    // 重载==运算符
    if(this->m_Name == other.m_Name
        && this->m_Thickness == other.m_Thickness 
        && this->m_Direct == other.m_Direct
        && this->m_Vertices == other.m_Vertices) 
        return true;

    return false;
}

bool ModelData::operator!=(const ModelData &other) const
{
    return !(*this == other);
}
